﻿using System;
using System.Collections.Generic;

namespace Athena.Convertible
{
    /// <summary>
    /// 类型转换委托
    /// </summary>
    /// <param name="instance"></param>
    /// <param name="conversionType"></param>
    /// <returns></returns>
    public delegate object TypeConvertDelegate(object instance, Type conversionType);

    public interface ITypeConvertibleProvider
    {
        IEnumerable<TypeConvertDelegate> CreateConverts();
    }
}
